﻿using System;

namespace Model
{
    public class SparepartPurchaseInfo :BaseModel
    {
        public virtual int SparepartPurchaseInfoId { get; set; }
        public virtual int CompanyId { get; set; }
        public virtual DateTime PurchaseDate { get; set; }

        public virtual string SparepartPurchaseInfoDesc { get; set; }

        public virtual int Quantity { get; set; }
        public virtual float UnitPrice { get; set; }
        public virtual DateTime StartDate { get; set; }
        public virtual DateTime EndDate { get; set; }
        public virtual string WarrantyDesc { get; set; }
        public virtual bool IsWarranty { get; set; }
        public virtual int NbDamaged { get; set; }
        public virtual int NbOut { get; set; }
        public virtual float Capacity{ get; set; }
        public virtual int HaveId { get; set; }
        public virtual bool Discontinue { get; set; }
        public virtual string TestDesc { get; set; }
        
        public virtual bool IsDamaged { get; set; }
        public virtual int MinQuantity { get; set; }
        public virtual int MaxQuantity { get; set; }
        public virtual string TypeLabel { get; set; }
        public virtual string Testsp { get; set; }
        public virtual string POReferenceNumber { get; set; }
       
        public virtual int ModelIdTmp { get; set; }


        public override int Key
        {
            get { return this.SparepartPurchaseInfoId; }
        }
        

    }
}
